Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Tween Record

QuickTime maintains a tween record structure that is provided to your tween component's TweenDoTween method. The TweenRecord structure is defined as follows.

typedef struct TweenRecord TweenRecord;
struct TweenRecord {
    long                    version;
    QTAtomContainer         container;
    QTAtom                  tweenAtom;
    QTAtom                  dataAtom;
    Fixed                   percent;
    TweenerDataUPP          dataProc;
    void *                  private1;
    void *                  private2;
};

Field descriptions

version
The version number of this structure. This field is initialized to 0.

container
The atom container that contains the tween data.

tweenAtom
The atom for this tween entry's data in the container.

percent
The percentage by which to change the data.

dataProc
The procedure the tween component calls to send the tweened value to the receiving track.

private1
Reserved.

private2
Reserved.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |